package com.example.imooccommon.store;

import com.example.imooccommon.util.CommonUtil;

import java.text.MessageFormat;

/**
 * @Author Anita
 * @Date 2018/1/18 10:39
 */
public class QiniuKeyGenerator {

    public static final String KEY = "/{0}/{1}/{2}/{3}";

    public static String generateKey(){
        return MessageFormat.format(KEY, "default", "all", "0", CommonUtil.getUID());
    }
}